<template>
  <div>
    <el-card>
      <div class="cardItem">
        <span>{{ title }}</span>
        <el-icon class="el-icon-warning-outline" />
      </div>
      <h3>{{ count }}</h3>
      <slot name="echarts" />
      <slot name="test" />
    </el-card>
  </div>
</template>

<script>
export default {
  name: 'Card',
  props: ['title', 'count'],
  mounted() {
    console.log('SSSSSAA', this.$slots)
  }
}
</script>

<style scoped>
.cardItem{
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: gray;
}
</style>
